package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.api.domain.SchoolPayrecord;
import com.ruoyi.system.domain.SchoolPayrecordTj;

/**
 * 缴费记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-19
 */
public interface SchoolPayrecordMapper 
{
    /**
     * 查询缴费记录
     * 
     * @param id 缴费记录ID
     * @return 缴费记录
     */
    public SchoolPayrecord selectSchoolPayrecordById(Long id);

    /**
     * 查询缴费记录列表
     * 
     * @param schoolPayrecord 缴费记录
     * @return 缴费记录集合
     */
    public List<SchoolPayrecord> selectSchoolPayrecordList(SchoolPayrecord schoolPayrecord);
    public List<SchoolPayrecordTj> selectSchoolPayrecordListTj(SchoolPayrecord schoolPayrecord);
    public List<SchoolPayrecordTj> selectSchoolPayrecordListPayTj(SchoolPayrecord schoolPayrecord);
    public List<SchoolPayrecordTj> selectSchoolPayrecordListPayTjPm(SchoolPayrecord schoolPayrecord);

    /**
     * 新增缴费记录
     * 
     * @param schoolPayrecord 缴费记录
     * @return 结果
     */
    public int insertSchoolPayrecord(SchoolPayrecord schoolPayrecord);

    /**
     * 修改缴费记录
     * 
     * @param schoolPayrecord 缴费记录
     * @return 结果
     */
    public int updateSchoolPayrecord(SchoolPayrecord schoolPayrecord);

    /**
     * 删除缴费记录
     * 
     * @param id 缴费记录ID
     * @return 结果
     */
    public int deleteSchoolPayrecordById(Long id);

    /**
     * 批量删除缴费记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSchoolPayrecordByIds(Long[] ids);
}
